package cn.yili12.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class LoginResultDTO {
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("登录token")
    private String token;

    public LoginResultDTO() {
    }

    public LoginResultDTO(String userId, String phone, String name, String token) {
        this.userId = userId;
        this.phone = phone;
        this.name = name;
        this.token = token;
    }
}
